<template>
  <div>
    <van-image round :width="size+'px'" height="size+'px'" :src = "icon" />
    <span>{{name}}</span>
  </div>
</template>

<script>
export default {
  props: ['icon', 'name', 'size']
}
</script>

<style lang="less" scoped>
div{
  display: flex;
  flex-direction: column;
  align-items: center;
}
</style>
